package net.tv90.volunteerserveradmin.model.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.validation.annotation.Validated;

import java.time.LocalDateTime;

@EqualsAndHashCode(callSuper = true)
@Data
public class OperationLogQueryDTO extends QueryDTO {
    //用户id 精确查询
    private Long userId;
    //用户名 模糊查询
    private String username;

    //地址 模糊查询
    private String ipSource;

    //操作耗时 毫秒 起始结束
    private Long startTimes;
    private Long endTimes;

    //创建时间 起始结束
    private LocalDateTime startCreateTime;
    private LocalDateTime endCreateTime;
}
